home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / gfx / fract / fu1_61.lha / Formulas / Sunburst.Form < prev    next >
Text File  |  1995-03-06  |  296b  |  34 lines

  1. Sunburst
  2. {
  3.     {
  4.         x1=-2.5
  5.         x2= 2.5
  6.         y1=-2.0
  7.         y2= 2.0
  8.         par1.r=20.0
  9.         par1.i=0.0
  10.         par2.r=10.0
  11.         par2.i=0.0
  12.         bailout=4.0
  13.     }
  14.     {
  15.         z=pixel
  16.         c=pixel
  17.     }
  18.     {
  19.         z1=pow(z,par1)
  20.         z1=z1+c
  21.         z2=pow(z,par2)
  22.         z2=z2+c
  23.         z=z1/z2
  24.         w=abs(z)
  25.     }
  26.     {
  27.         w>bailout
  28.     }
  29.     {
  30.         PAR1-EXPONENT Z1
  31.         PAR2-EXPONENT Z2
  32.     }
  33. }
  34.